export interface Container {
    id: string;
    name: string;
    status: ContainerStatus;
    image: string;
    statusText: string;
}

export enum ContainerStatus {
    Running = "Running",
    Stopped = "Stopped",
    Paused = "Paused",
    Creating = "Creating"
}

export interface Image {
    name: string;
    description: string;
    size: string;
    updated: string;
}

export interface AppState {
    containers: Container[];
    images: Image[];
    loading: boolean;
    loadingImages: boolean;
    error: string | null;
    errorImages: string | null;
    searchQuery: string;
    imageSearchQuery: string;
}

export interface Text {
    refresh: string;
    newContainer: string;
    installedContainers: string;
    availableImages: string;
    name: string;
    image: string;
    status: string;
    actions: string;
    search: string;
    searchImages: string;
    noImagesFound: string;
    create: string;
    delete: string;
    start: string;
    stop: string;
    enter: string;
    error: string;
    success: string;
} 